clear;
positions = [0,0];
positionsp = [0,0];
for i=2:500
    positions(i,:) = shipCurve(positions(i-1,:));
    positionsp(i,:) = positionsp(i-1,:) + positions(i,:);
end
plot(positionsp(:,1),positionsp(:,2))